package com.kmt.plaza.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "User对象",description = "用户/买家信息")
public class UserListVO implements Serializable {
     private static final long serialVersionUID = 1L;

     @ApiModelProperty(dataType = "int",required = false)
     private Integer userId;

     @ApiModelProperty(dataType = "String",required = true,value = "用户姓名")
     private String userName;

     @ApiModelProperty(dataType = "String",required = true,value = "用户密码")
     private String passWord;

     @ApiModelProperty(dataType = "String",required = true,value = "用户昵称")
     private String nickName;

     @ApiModelProperty(dataType = "String",required = true,value = "真实姓名")
     private String realName;

     @ApiModelProperty(dataType = "String",required = true,value = "用户头像")
     private String userImg;

     @ApiModelProperty(dataType = "String",required = true,value = "用户电话")
     private String userMobile;

     @ApiModelProperty(dataType = "String",required = true,value = "用户邮箱")
     private String userEmail;

     @ApiModelProperty(dataType = "String",required = true,value = "用户性别")
     private char userSex;

     @ApiModelProperty(dataType = "LocalDate",required = true,value = "用户生日")
     private LocalDate userBirth;

     @ApiModelProperty(dataType = "Integer",required = true,value = "是否启用")
     private Integer status ;

     @ApiModelProperty(dataType = "Date",required = true,value = "用户注册时间")
     private Date userRegtime;

     @ApiModelProperty(dataType = "Date",required = true,value = "用户更新时间")
     private Date userModtime;
}
